package mesweb.mesweb.entity.Procedure;


import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hszh.wms.mbg.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 生产工序
 * @Author: jeecg-boot
 * @Date:   2021-06-26
 * @Version: V1.0
 */
@Data
@TableName("Model_Product_Procedure_Line")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Model_Product_Procedure对象", description="生产工序")
public class MesProductProcedure extends BaseEntity {
    
	/**生成工序线编号*/

    @ApiModelProperty(value = "生成工序线编号")
	private String productProcedureNo;
	/**生成工序线名称*/

    @ApiModelProperty(value = "生成工序线名称")
	private String productProcedureName;
	/**产品类型*/

    @ApiModelProperty(value = "产品类型")
	private Integer productTypeId;
	/**状态*/

    @ApiModelProperty(value = "状态")
	private Integer status;
	/**备注*/

    @ApiModelProperty(value = "备注")
	private String comment;
	/**审核时间*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
	private Date audittime;
	/**审核人*/

    @ApiModelProperty(value = "审核人")
	private String audituser;
	/**创建时间*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createtime;
	/**创建人*/

    @ApiModelProperty(value = "创建人")
	private String createuser;
	/**更新时间*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updatetime;
	/**更新人*/

    @ApiModelProperty(value = "更新人")
	private String updateuser;
	/**删除时间*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "删除时间")
	private Date deletetime;
	/**删除人*/

    @ApiModelProperty(value = "删除人")
	private String deleteuser;
	/**来源*/

    @ApiModelProperty(value = "来源")
	private String source;
	/**是否已删除*/

    @ApiModelProperty(value = "是否已删除")
	@TableLogic
	private Object isdeleted;

	private float modTime;

	private  String  watchTime;

	private  String calcuteTimeMethod;

	private int productId;

	private  String productNo;

	private  int orderId;

	private  String orderNo;

	/**工艺总工时*/
	@ApiModelProperty(value = "工艺总工时")
	private java.lang.Float workHours;
	/**瓶颈工序id*/

	@ApiModelProperty(value = "瓶颈工序id")
	private java.lang.Integer bottleneckProcedureId;
	/**瓶颈工序名称*/

	@ApiModelProperty(value = "瓶颈工序名称")
	private java.lang.String bottleneckProcedureName;
	/**瓶颈工序工时*/

	@ApiModelProperty(value = "瓶颈工序工时")
	private java.lang.Float bottleneckProcedureWorkHours;






}
